using System;
using System.Collections.Generic;
using HZT.Framework.Contract;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;

namespace AD.Contract.Models
{
    [Serializable]
    [Table("Customer")]
    public partial class Customer : ModelBase
    {
        [Key]
        public string Id { get; set; }
        public string Name { get; set; }
        public string CategoryId { get; set; }
        public string Company { get; set; }
        public string Phone { get; set; }
        public string Mobile { get; set; }
        public string QQ { get; set; }
        public string Email { get; set; }
        public string Adress { get; set; }
        public string Post { get; set; }
        public string Comment { get; set; }


        public System.DateTime CreateTime { get; set; }

        [DatabaseGenerated(DatabaseGeneratedOption.Identity)]
        public int nID { get; set; }
    }
}
